package com.example.product.ciao;



import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import android.widget.Button;

public class OrderDetailActivity extends Activity {
	private Button mymessage;
	private Button reback;
	private Button cancel;
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.order_detail);
		reback = (Button) this.findViewById(R.id.btn_arrow);
		mymessage = (Button) this.findViewById(R.id.btn_main_message);
		mymessage.setOnClickListener(new View.OnClickListener() {
			public void onClick(View paramAnonymousView) {

			
				
				Intent localIntent1 = new Intent(OrderDetailActivity.this, MyMessageActivity.class);
				OrderDetailActivity.this.startActivity(localIntent1);
				//OrderDetailActivity.this.finish();
			}
		});
		reback.setOnClickListener(new View.OnClickListener() {
			public void onClick(View paramAnonymousView) {

				
				
				Intent localIntent1 = new Intent(OrderDetailActivity.this, OrderListActivity.class);
				OrderDetailActivity.this.startActivity(localIntent1);
				//OrderDetailActivity.this.finish();
			}
		});
		cancel=(Button)this.findViewById(R.id.btnCancel);
		
		cancel.setOnClickListener(new View.OnClickListener() {
			public void onClick(View paramAnonymousView) {

			
				
				Intent localIntent1 = new Intent(OrderDetailActivity.this, BookActivity.class);
				OrderDetailActivity.this.startActivity(localIntent1);
				//OrderDetailActivity.this.finish();
			}
		});
	}
	
	
	}
    